<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcrtc: crtc::MediaStreamTrack Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libcrtc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>crtc</b></li><li class="navelem"><a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classcrtc_1_1_media_stream_track-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">crtc::MediaStreamTrack Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="crtc_8h_source.html">crtc.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for crtc::MediaStreamTrack:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcrtc_1_1_media_stream_track.png" usemap="#crtc::MediaStreamTrack_map" alt=""/>
  <map id="crtc::MediaStreamTrack_map" name="crtc::MediaStreamTrack_map">
<area href="classcrtc_1_1_reference.html" alt="crtc::Reference" shape="rect" coords="78,0,224,24"/>
<area href="classcrtc_1_1_audio_sink.html" alt="crtc::AudioSink" shape="rect" coords="0,112,146,136"/>
<area href="classcrtc_1_1_video_sink.html" alt="crtc::VideoSink" shape="rect" coords="156,112,302,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a207bbc54050a714c2a515a8e06f2c4dc"><td class="memItemLeft" align="right" valign="top"><a id="a207bbc54050a714c2a515a8e06f2c4dc"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Type</b> { <b>kAudio</b>, 
<b>kVideo</b>
 }</td></tr>
<tr class="separator:a207bbc54050a714c2a515a8e06f2c4dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff8579b2a77b074e2413143dc4e47b1c"><td class="memItemLeft" align="right" valign="top"><a id="aff8579b2a77b074e2413143dc4e47b1c"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>State</b> { <b>kLive</b>, 
<b>kEnded</b>
 }</td></tr>
<tr class="separator:aff8579b2a77b074e2413143dc4e47b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af37dc21fd42a3044418cfcf78f529272"><td class="memItemLeft" align="right" valign="top"><a id="af37dc21fd42a3044418cfcf78f529272"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>Enabled</b> () const =0</td></tr>
<tr class="separator:af37dc21fd42a3044418cfcf78f529272"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9746d315494379b939f734b5e0ea79c"><td class="memItemLeft" align="right" valign="top"><a id="ab9746d315494379b939f734b5e0ea79c"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>Muted</b> () const =0</td></tr>
<tr class="separator:ab9746d315494379b939f734b5e0ea79c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff2f2aa05eae24312521ddd85e88a515"><td class="memItemLeft" align="right" valign="top"><a id="aff2f2aa05eae24312521ddd85e88a515"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>Remote</b> () const =0</td></tr>
<tr class="separator:aff2f2aa05eae24312521ddd85e88a515"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5e0eecfedcb63493ed1b8265d72c201"><td class="memItemLeft" align="right" valign="top"><a id="aa5e0eecfedcb63493ed1b8265d72c201"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><b>Id</b> () const =0</td></tr>
<tr class="separator:aa5e0eecfedcb63493ed1b8265d72c201"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea3b79d223145fe01e1e400caba8b4e"><td class="memItemLeft" align="right" valign="top"><a id="a1ea3b79d223145fe01e1e400caba8b4e"></a>
virtual Type&#160;</td><td class="memItemRight" valign="bottom"><b>Kind</b> () const =0</td></tr>
<tr class="separator:a1ea3b79d223145fe01e1e400caba8b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38031f9a5475a69c4875b482f2acf8b7"><td class="memItemLeft" align="right" valign="top"><a id="a38031f9a5475a69c4875b482f2acf8b7"></a>
virtual State&#160;</td><td class="memItemRight" valign="bottom"><b>ReadyState</b> () const =0</td></tr>
<tr class="separator:a38031f9a5475a69c4875b482f2acf8b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6cd899f70a509c4d11fd7d708a1220"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrtc_1_1_media_stream_track.html#afc6cd899f70a509c4d11fd7d708a1220">Clone</a> ()=0</td></tr>
<tr class="separator:afc6cd899f70a509c4d11fd7d708a1220"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3954b259f291dfac8f96e20d1f30d649"><td class="memItemLeft" align="right" valign="top"><a id="a3954b259f291dfac8f96e20d1f30d649"></a>
Callback&#160;</td><td class="memItemRight" valign="bottom"><b>onstarted</b></td></tr>
<tr class="separator:a3954b259f291dfac8f96e20d1f30d649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a328d0269867471ad67bbff730c384ab9"><td class="memItemLeft" align="right" valign="top"><a id="a328d0269867471ad67bbff730c384ab9"></a>
Callback&#160;</td><td class="memItemRight" valign="bottom"><b>onended</b></td></tr>
<tr class="separator:a328d0269867471ad67bbff730c384ab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7786bcc0d13460eb9f0d7649b686de6c"><td class="memItemLeft" align="right" valign="top"><a id="a7786bcc0d13460eb9f0d7649b686de6c"></a>
Callback&#160;</td><td class="memItemRight" valign="bottom"><b>onmute</b></td></tr>
<tr class="separator:a7786bcc0d13460eb9f0d7649b686de6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac85e32009abbba88bf79f7b77fd15b9d"><td class="memItemLeft" align="right" valign="top"><a id="ac85e32009abbba88bf79f7b77fd15b9d"></a>
Callback&#160;</td><td class="memItemRight" valign="bottom"><b>onunmute</b></td></tr>
<tr class="separator:ac85e32009abbba88bf79f7b77fd15b9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section see"><dt>See also</dt><dd><a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack">https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack</a> </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="afc6cd899f70a509c4d11fd7d708a1220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6cd899f70a509c4d11fd7d708a1220">&sect;&nbsp;</a></span>Clone()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt;<a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a>&gt; crtc::MediaStreamTrack::Clone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/clone">https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/clone</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="crtc_8h_source.html">crtc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
